package entity;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * Created by Intellij IDEA.SimpleStringProperty
 * User:  老赵
 * Date:  2023/7/19
 */
public class Top {
    private StringProperty  hotWordNum;
    private StringProperty hotWord;
    private StringProperty  url;

    public Top(String hotWordNum, String hotWord, String url) {
        this.hotWordNum = new SimpleStringProperty(hotWordNum);
        this.hotWord = new SimpleStringProperty(hotWord);
        this.url = new SimpleStringProperty(url);
    }

    public String getHotWordNum() {
        return hotWordNum.get();
    }

    public StringProperty hotWordNumProperty() {
        return hotWordNum;
    }

    public void setHotWordNum(String hotWordNum) {
        this.hotWordNum.set(hotWordNum);
    }

    public String getHotWord() {
        return hotWord.get();
    }

    public StringProperty hotWordProperty() {
        return hotWord;
    }

    public void setHotWord(String hotWord) {
        this.hotWord.set(hotWord);
    }

    public String getUrl() {
        return url.get();
    }

    public StringProperty urlProperty() {
        return url;
    }

    public void setUrl(String url) {
        this.url.set(url);
    }
}
